package com.my_musc_service.service;

import com.my_musc_service.entity.LoginInfoVO;
import com.my_musc_service.entity.LoginVO;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * @author zhudunfeng
 * @date 2021/6/10 20:50
 */
public interface LoginService {
    /**
     * 登录
     * @param loginVO
     * @param session
     * @return
     */
    public Map<String, Object> login(LoginVO loginVO, HttpSession session);

    /**
     * 获取用户头像
     * @param jwtToken
     * @return
     */
    LoginInfoVO getLoginInfoByJwtToken(String jwtToken);
}
